package com.atues.proxy.daynamicProxy;

public class Main {
    public static void main(String[] args) {
//        SmsService smsService = (SmsService) JdkProxyFactory.getProxy(new SmsServiceImpl());
        SmsService smsService = (SmsService) JdkProxyFactory.getProxy(new MobileMsServiceImpl());
        smsService.send("java");
    }
}
